@import url(comment.less);

// 主体
.all {
    // display: flex;
    // 左
    .left {
        height: 100%;
        width: 30%;
        // background-color: #ff0;
        box-shadow: 1px 0px 3px #e1e1e1;
        position: fixed;
        left: 0;
        nav {
            .logo2 {
                // width: 5rem;
            }
            .userCenter {
                display: none;
            }
            .glyphicon {
                display: none;
            }
            .userhead {
                // width: 2rem;
                // overflow: hidden;
                img {
                    border-radius: 50%;
                    cursor: pointer; 
                }
            }
            a {
                color: #d1181a;
                margin-right: 0.5rem;
                text-decoration: none;
            }
        }
        
    }
    .right {
        // display: none;
        width: 70%;
        margin-left: 30%;
        
        .swiper {
            height: 550px;
            width: 100%;
        }
        
        .recommendeds {
            background-color: #eff9ff;
            .card {
                cursor: pointer;
                margin: 2rem 0;
                border-radius: 5px;
                background-color: #fff;
                overflow: hidden;
                padding: 0;
                border: 1px solid #d5d5d5;
                height: 8rem;
            }
        }
        
        .products {
            .productTitle {
                padding-left: 15px;
                padding-top: 15px;
                font-size: 0.8rem;
                color: #d1181a;
            }
            .pb1 {
                border-bottom: 3px solid #f0f0f0;
            }
            .product {
                // transition: all .2s;
                overflow: hidden;
                height: 6rem;
                border-radius: 50%;
                border: 1px solid #d5d5d5;
                box-shadow: 0px 3px 3px #d5d5d5;
                cursor: pointer;
            }
        }
    }  
    
    
    @media screen and (max-width:376px){
        .left {
            height: auto;
            width: 100%;
            bottom: 0;
            z-index: 999;
            background-color: #fff;
            nav {
                padding: 2rem 0;
                display: flex;
                justify-content: space-around;
                .userCenter,.glyphicon {
                    display: block;
                }
            }
            .logo2,.userContrl,.userhead {
                display: none;
            }
            
            
        }
        .right {
            width: 100%;
            margin: 0;
            .swiper {
                height: 200px;
                width: 100%;
            }
            .recommendeds{
                .card {
                    height: 20rem;
                }
            }
            .products {
                margin-bottom: 5rem;
                .product {
                    height: 6.5rem;
                }
            }
        }
    }
}


// 商品详情页
.productDetails {
    display: none;
    width: 70%;
    // height: 1000px;
    // background-color: #ff0;
    margin-left: 30%;
    .container {
        width: 100%;
    }
    .mb1{
        margin-left: 0.2rem;
    }
    .productImg {
        border-radius: 15px;
    }
    .productTips {
        margin: 0.5rem 0;
        margin-right: 0.5rem;
        .productTip {
        padding: 5px 10px;
        background-color: #d0d0d0;
        border-radius: 15px;
        }
    }
    .back {
        cursor: pointer;
    }
    
    .productDescribe {
        font-weight: 600;
        font-size: 0.7rem
    }
    
    @media screen and (max-width:376px){
        & {
            width: 100%;
            margin-left: 0;
        }
        .productTips {
            margin-top: 2rem;
            margin-bottom: 2rem;
        }
        .productDescribe {
            font-weight: 600;
            font-size: 1.5rem
        }
    }
}











